﻿using Cms.Core.DynamicWebApi;
using Cms.Core.Infrastructure.Dependency;
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Application.IService
{

   public interface ITestAppService : IDynamicWebApi, ITransientDependency
    {


         string Get(int id);

        /// <summary>
        /// 异步得到所有
        /// </summary>
        /// <returns></returns>
         IEnumerable<string> GetAllAsync();

        /// <summary>
        /// Get All Apple.
        /// </summary>
        /// <returns></returns>
        IEnumerable<string> Get();
        /// <summary>
        /// 得到所有
        /// </summary>
        /// <returns></returns>
        IEnumerable<string> GetBigTest();

        void Update();

        void Delete(int id);


        string DDa();
    }
}
